clear;
clc;
nbLines = 2; % needed lines in sta.txt
nbTests = 10;
alpha = 10;

data = textread('no_wait_statistics.txt');

lb = data(2:11, 2);
nehmakespan = data(2:11, 3);
nehwait = data(2:11, 4);
nehtime = data (2:11, 5);
tsmakespan = data (2:11, 6);
tswait = data(2:11, 7);
tstime = data(2:11, 8);

rgcneh = nehmakespan./lb - 1;
rgcts = tsmakespan./lb - 1;
yitac = rgcneh./rgcts -1;

rgwneh = 1 - nehwait./alpha;
rgwts  = 1 - tswait ./alpha;
yitaw  = rgwts - rgwneh;

[mean(rgcneh) mean(rgcts) mean(yitac) mean(rgwneh) mean(rgwts) mean(yitaw) mean(nehtime) mean(tstime)]



 
 
